<!DOCTYPE html>
<!-- saved from url=(0031)http://author.hotread.com/works -->
<html lang="zh" class="root platform-win"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

  <title>作品列表 - 作者中心 | 火星小说</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="http://author.hotread.com/favicon.ico" rel="shortcut icon">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <link rel="stylesheet" href="/css/normalize.min.css">
  <link rel="stylesheet" href="/css/common.min.css">
    <link rel="stylesheet" href="/css/works.min.css">
</head>
<body>
  <header class="header">
  <div class="container">
    <a class="slogan" href="{{'/'}}">
      <img src="/image/slogan.png" alt="">
    </a>
    <span class="user">
      <a href="http://author.hotread.com/logout">退出登陆</a>
    </span>
  </div>
</header>
  <div class="container">
    <div class="nav">
  <h4>作者中心</h4>
  <ul>
  <li class="item active"><a href="{{url('work')}}">作品列表</a></li>
    <li class="item"><a href="{{url('subscribe')}}">订阅收入</a></li>
    <li class="item"><a href="{{url('reward')}}">打赏收入</a></li>
    <li class="item"><a href="{{url('comments')}}">评论管理</a></li>
    <li class="item"><a href="{{url('authorset')}}">个人设置</a></li>
  </ul>
</div>
    <div class="worksList fl" id="workList">
  <div class="worksList-header right-header">
    <p class="hint wryh-font">作品列表<span>（当前作品<i class="num">{{Auth::user()->novelnum}}</i>本）</span></p>
    <a href="{{url('noveladd')}}" class="btn fr">创建作品</a>
  </div>
    <table class="table-list">
    <thead>
      <tr>
        <th>作品名称</th>
        <th>最新发布章节</th>
        <th>收藏量</th>

        <th>操作</th>
      </tr>
    </thead>
    <tbody>

          @forelse ($novels as $n)
          <tr>
          <td>
            <div class="cover">
              <img src="{{$n->cover_img}}">
            </div>
            <div class="details">
              <h3 class="bookname">{{$n->title}}</h3>
              <span class="sectionall">总章节：{{$n->chnum}}</span>
              <span class="wordsnum">总字数：{{$n->wordcount}}</span>
            </div>
          </td>
          <td class="newest">
            <p class="intro">第一章 111222</p>
            <span class="time">{{date('Y-m-d H:i:s',$n->pubtime)}}</span>
          </td>
          <td align="center">{{$n->collection}}</td>
          
          <td class="operation">
            <a href="{{url('chapteradd',$n->nid)}}">写新章节</a>
            <a href="http://author.hotread.com/works/1008269/drafts">草稿箱</a>
            <a href="{{url('published',$n->nid)}}">已发布章节</a>
            <a href="{{url('novelset',$n->nid)}}">作品设置</a>
          </td>
        </tr>
         @empty
         </div>
        <div class="no-result">查询无结果</div>
        </div>
        @endforelse
          </tbody>
  </table>

  <div class="paging" style="display: none;">
    <div class="paging-list">
      <span class="paging-left"></span>


      <span class="paging-item active">1</span>








      <span class="paging-item active">1</span>


      <span class="paging-right"></span>

    </div>
  </div>
  </div>
  </div>
</body></html>
